package json.serialize;

import json.val.JsonVal;

public class JsonPrinter {
    public void printValue(JsonVal jsonVal){
        String serializedStr = getSerializedStr(jsonVal);
        System.out.println(serializedStr);
    }
    public String getSerializedStr(JsonVal jsonVal) {
        return jsonVal.serializeSelf(1)+"\n";
    }
}
